import config from 'src/config/config';
import * as mongoose from 'mongoose';
const Schema = mongoose.Schema;
export const AddressSchema = new Schema(
    {
        uid: { type: Schema.Types.ObjectId },
        name: { type: String },
        phone: { type: Number },
        address: { type: String },
        zipcode: { type: String },
        default_address: { type: Number, default: 1 },
    },
    config.SchemaOptions,
);
